.PHONY:all
all: calClient calServer

Flag=-DMySelf=1
Lib=-ljsoncpp

calClient:CalculatorClient.cpp
	g++ -o $@ $^ -std=c++11 $(Lib) #$(Flag)
calServer:CalculatorServer.cpp
	g++ -o $@ $^ -std=c++11 -g  $(Lib) #$(Flag)

.PHONY:clean
clean:
	rm -f calClient calServer